package com.office.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.office.common.annotation.Excel;
import com.office.common.core.domain.BaseEntity;

/**
 * 归还管理对象 sys_return
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public class SysReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 归还记录 */
    private Long returnId;

    /** 办公用品 */
    @Excel(name = "办公用品")
    private Long officeId;

    /** 员工 */
    @Excel(name = "员工")
    private Long userId;

    /** 归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDate;

    /** 归还状态 */
    @Excel(name = "归还状态")
    private String returnStatus;

    public void setReturnId(Long returnId) 
    {
        this.returnId = returnId;
    }

    public Long getReturnId() 
    {
        return returnId;
    }
    public void setOfficeId(Long officeId) 
    {
        this.officeId = officeId;
    }

    public Long getOfficeId() 
    {
        return officeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setReturnDate(Date returnDate) 
    {
        this.returnDate = returnDate;
    }

    public Date getReturnDate() 
    {
        return returnDate;
    }
    public void setReturnStatus(String returnStatus) 
    {
        this.returnStatus = returnStatus;
    }

    public String getReturnStatus() 
    {
        return returnStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("returnId", getReturnId())
            .append("officeId", getOfficeId())
            .append("userId", getUserId())
            .append("returnDate", getReturnDate())
            .append("returnStatus", getReturnStatus())
            .toString();
    }
}
